package com.aaa.dao;

import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Map;

public interface T_OnlineDao {

@Select("<script> select name,SHtime,appscore from regist where state=1  <if test=\"name!=null and name!=''\"> and name= #{name} </if> limit #{start},#{pageSize} </script>")
List<Map> getlist(Map map);

@Select("<script> select count(id) from regist where state=1  <if test=\"name!=null and name!=''\"> and name= #{name} </if>  limit #{start},#{pageSize}</script>")
Integer  getCount(Map map);

}
